DB_G_DOC_PREFIX = "gdoc"
DOC_TABLE_PREFIX = "file_node_"


def calculate_location(workspace_id):
    print(DB_G_DOC_PREFIX + str(abs(hash(workspace_id)) % 4))
    print(DOC_TABLE_PREFIX + str(abs(hash(workspace_id)) % 128))


# 示例调用
calculate_location("4b367884385946b0ab4fba6b51e044f3")
